package com.xxh.cloud.provider.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class RabbitMQConfig {
    public static final String QUEUE_USER_ADD="cloud-auth-useradd";


    //创建队列
    @Bean
    public Queue createQ1(){
        return new Queue(QUEUE_USER_ADD);
    }
}
